﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BusinessLogicLayer;
namespace QL_HoSoBA
{
    public partial class FrmThongTinTK : Form
    {
        public FrmThongTinTK()
        {
            InitializeComponent();
        }
        TaiKhoan_Manager nv_manager = new TaiKhoan_Manager();
        private void label8_Click(object sender, EventArgs e)
        {

        }

        private void FrmThongTinTK_Load(object sender, EventArgs e)
        {
            foreach (DataRow row in nv_manager.TaiKhoanDN_TimTheoTenTK(frmHeThong.taikhoan,frmHeThong.matkhau).Rows)
            {
                lblTaiKhoan.Text = row[0].ToString();
                lblTenTaiKhoan.Text = row[3].ToString();
                lblMatKhau.Text = row[1].ToString();
                lblChuvu.Text = row[4].ToString();
                lblCauHoi.Text = row[5].ToString();
                lblCauTraLoi.Text = row[6].ToString();
            }
           // lblTaiKhoan.Text = nv_manager.TaiKhoanDN_TimTheoTenTK(frmHeThong.taikhoan, frmHeThong.matkhau)
        }
    }
}
